﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FunnyArts.PrettyClient.Model
{
    public class User
    {
        public string no { get; set; }
        public string code => no;
        public string deptCode { get; set; }
        public string staffCode { get; set; }
        private string _userName;
        public string userName { get => _userName ?? userNameCn; set=>_userName=value; }
        public string userNameCn { get; set; }
        public string account { get; set; }
        public string userId => no;
        public string userCode => staffCode;
        public string id { get; set; }
        public string loginToken { get; set; }
        public string deptName { get; set; }
        public bool isPasswordCompliance { get; set; }
        public string passwordRules { get; set; }
        public string passwordRulesRemark { get; set; }
        public string zone { get; set; }
        public string zoneName { get; set; }
        public string ipAddress { get; set; }
        public string computerName { get; set; }
        public string macAddress { get; set; }
        public string bizSourceCode { get; set; }
    }
}
